import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {LoginComponent} from './login/login.component';
import {AuthService} from '../../service/auth.service';
import {AuthGuard} from '../../service/guard/auth.guard';

const routes: Routes = [
  {path: 'login', component: LoginComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: [
    AuthService,
    AuthGuard
  ]
})
export class SecurityRoutingModule {
}

